<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><h6>热门信息</h6>
<hr class="text-subline">
<div class="offset-top-14 offset-md-top-20">
  <!-- List Marked-->
  <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=d10ffe73accbf386a44ecffa037333d7&action=hits&catid=%24catid&num=5&order=monthviews+DESC&return=hits\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'hits')) {$hits = $content_tag->hits(array('catid'=>$catid,'order'=>'monthviews DESC','limit'=>'5',));}?>
  <?php if($hits) { ?>
    <ul class="list list-marked list-marked-icon text-dark inset-left-0 list-marked-gray">
      <?php $n=1;if(is_array($hits)) foreach($hits AS $r) { ?>
      <li><a href="<?php echo $r['url'];?>" class="text-bold" title="<?php echo $r['title'];?>"><?php echo str_cut($r['title'],65);?></a><br>
        <small class="text-gray"><?php echo date('Y-m-d H:m:s',$r['inputtime']);?></small>
      </li>
      <?php $n++;}unset($n); ?>
    </ul>
  <?php } else { ?>
    暂无信息...
  <?php } ?>
  <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
</div>
